sysroot: Fix gcc `-fanalyzer` warning
authorColin Walters <walters@verbum.org>
Fri, 8 Oct 2021 12:59:52 +0000 (08:59 -0400)
committerColin Walters <walters@verbum.org>
Wed, 13 Oct 2021 21:13:14 +0000 (17:13 -0400)
commit520b45afdd97cab47d55aecab1407a857a7008df
treed160f6ffe0db12c4ed64360a78dbb1d0c0c71320
parent9a7f9c2095a1fe834793978250be402bfb8237f6
sysroot: Fix gcc `-fanalyzer` warning

In general, we're probably going to need to change most of our
`g_return_if_fail` to `g_assert`.  The analyzer flags that
the function can return `NULL`, but the caller isn't prepared for
this.

In practice, let's abort.
src/libostree/ostree-sysroot.c